package com.mos.dao;

import com.mos.entity.Menu;

import java.util.List;
import java.util.Map;

/**
 * Package Name: com.mos.dao.impl
 * User: grq
 * Date: 2016/3/29
 * Time: 10:27
 * Description:some des here!
 */
public interface MenuDao {

    public int save(Menu menu);

    public List<Map<String,Object>> queryList(Object[] params);

    public List<Map<String, Object>> queryListByPid(String pid);

    public Map<String, Object> getRoot();

    public Menu findById(String id);
}
